package note;

public class TextAndImageNote implements Note {
    private String text;
    private String url;

    public TextAndImageNote(String text, String url) {
        this.text = text;
        this.url = url;
    }

    @Override
    public String toString() {
        return text + ", " + url;
    }
}
